package cn.damai.search.mapper;

import cn.damai.search.vo.ItemSearchVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

public interface ItemSearchMapper {
    

    ItemSearchVo getItemsearchById(@Param(value = "id") Long id);

    List<ItemSearchVo> getItemsearchListByMap(Map<String, Object> param);

    Integer getItemsearchCountByMap(Map<String, Object> param);

    Integer   insertItemsearch(ItemSearchVo itemSearchVo);

    Integer updateItemsearch(ItemSearchVo itemSearchVo);

    List<ItemSearchVo> queryItemTypeGrouping(Map<String, Object> param);

    List<ItemSearchVo> queryAreaGrouping(Map<String, Object> param);

    List<ItemSearchVo>queryItemType2Grouping(Map<String, Object> param);
}
